package com.rainy.generator.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author liuqin
 */
@Data
public class TableEntity implements Serializable{
	private ColumnEntity pk;
	private String tableName;
	private String tableSchema;
	private String tableType;
	private String engine;
	private String tableCollation;
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	private String tableComment;
}
